.class public Lrexsee/core/receiver/_Receiver;
.super Landroid/content/BroadcastReceiver;
.source "_Receiver.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 10
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 3
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "intent"    # Landroid/content/Intent;

    .prologue
    .line 15
    :try_start_0
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 16
    .local v0, "action":Ljava/lang/String;
    if-nez v0, :cond_0

    .line 17
    invoke-virtual {p2}, Landroid/content/Intent;->getDataString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Lrexsee/core/utilities/Utilities;->open(Landroid/content/Context;Ljava/lang/String;)V

    .line 31
    .end local v0    # "action":Ljava/lang/String;
    :goto_0
    return-void

    .line 18
    .restart local v0    # "action":Ljava/lang/String;
    :cond_0
    const-string v1, "action.alarm.id_"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 19
    const-string v1, "argu"

    invoke-virtual {p2, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Lrexsee/core/alarm/RexseeAlarm;->exec(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_0

    .line 29
    .end local v0    # "action":Ljava/lang/String;
    :catch_0
    move-exception v1

    goto :goto_0

    .line 20
    .restart local v0    # "action":Ljava/lang/String;
    :cond_1
    const-string v1, "android.intent.action.BOOT_COMPLETED"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 21
    invoke-static {p1}, Lrexsee/core/alarm/RexseeAlarm;->updateAlarm(Landroid/content/Context;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 23
    :try_start_1
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lrexsee/service/_Service;

    invoke-direct {v1, p1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p1, v1}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_0

    .line 24
    :catch_1
    move-exception v1

    goto :goto_0

    .line 27
    :cond_2
    :try_start_2
    invoke-virtual {p2}, Landroid/content/Intent;->getDataString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p1, v1}, Lrexsee/core/utilities/Utilities;->open(Landroid/content/Context;Ljava/lang/String;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_0
.end method
